package com.hospital.common.vo.stat.module;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@HeadRowHeight(20)  // 表头行高
@ContentRowHeight(16)  // 内容行高
public class DoctorStatVo {
    /**
    * 医生id
    */
    private Long doctorId;

    /**
    * 医生姓名
    */
    @Excel(name = "医生姓名", fixedIndex = 1, width = 30)
    private String doctorName;

    /**
    * 科室id
    */
    private Long departmentId;

    /**
    * 科室名
    */
    @Excel(name = "科室名", fixedIndex = 2, width = 30)
    private String department;

    /**
    * 统计开始时间
    */
    @Excel(name = "统计开始时间", fixedIndex = 3, width = 30)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime statStartTime;

    /**
    * 统计截至时间
    */
    @Excel(name = "统计截至时间", fixedIndex = 4, width = 30)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime statEndTime;

    /**
    * 接待人次
    */
    @Excel(name = "接待人次", fixedIndex = 5, width = 30)
    private Integer totalConsultations;

    /**
    * 医药费比例
    */
    @Excel(name = "医药费比例", fixedIndex = 6, width = 30)
    private Double drugRevenueRatio;

    /**
    * 总费用产生
    */
    @Excel(name = "总费用产生", fixedIndex = 7, width = 30)
    private Double totalRevenue;

    /**
    * 检查费比例
    */
    @Excel(name = "检查费比例", fixedIndex = 8, width = 30)
    private Double testRevenueRatio;

    /**
    * 线上患者满意度
    */
    @Excel(name = "线上患者满意度", fixedIndex = 9, width = 30)
    private Double onlineSatisfactionScore;

    /**
    * 考勤率
    */
    @Excel(name = "考勤率", fixedIndex = 10, width = 30)
    private Double attendanceRate;
    /**
     * 评估等级
     */
    @Excel(name = "评估等级", fixedIndex = 11, width = 30)
    private String  levelAssessment;
    /**
     * 评估分数
     */
    @Excel(name = "评估分数", fixedIndex = 12, width = 30)
    private Double levelAssessmentScore;
}